<script language="javascript" type="text/javascript">
/*<![CDATA[*/
	$(function(){
		$("#lnkSave").click(function(){
			$('#adminForm').submit();
		});

		$("#lnkClose").click(function(){
			window.location = '<?php echo DOMAIN?>/lien_he';
		});

	});
/*]]>*/
	function Checkvalue(ElementID){
		var checkBox = document.getElementById(ElementID);
		if(checkBox.checked==true)
			checkBox.value=1; 
		else checkBox.value=0; 
	}
</script>
<div id="content-box">
	<div class="border">
		<div class="padding">
			<div id="toolbar-box">
   			<div class="t"><div class="t"><div class="t"></div></div></div>
			<div class="m">
				<div class="toolbar" id="toolbar">
				<table class="toolbar">
				<tr>
					<!--<td class="button" id="toolbar-save">
					<a href="javascript:;//Cập nhật" id="lnkSave" class="toolbar">
						<span class="icon-32-save" title="Cập nhật"></span>
						Cập nhật
					</a>
					</td>-->
					<td class="button" id="toolbar-cancel">
					<a href="javascript:;//Đóng" id="lnkClose" class="toolbar">
						<span class="icon-32-cancel" title="Đóng"></span>
						Đóng
					</a>
					</td>
				</tr>
				</table>
				</div>
				<div class="header icon-48-langmanager">Xử lý thông tin liên hệ</div>
				<div class="clr"></div>
			</div>
			<div class="b"><div class="b"><div class="b"></div></div></div>
			</div>
			<div class="clr"></div>
			<div id="element-box">
				<div class="t"><div class="t"><div class="t"></div></div></div>
				<div class="m">
				<form action="index.php?progid=7&act=xuly" method="post" name="adminForm" enctype="multipart/form-data" id="adminForm" autocomplete="off">
					<div class="col width-50">
						<fieldset class="adminform">
						<legend>Thông tin chi tiết</legend>
						<table class="admintable" cellspacing="1">
						<!--<tr>
							<td width="150" class="key">
								<label for="txtName">Tiêu đề </label>
							</td>
							<td>
								<?php  echo $views['LienHe']['lienhe_tieude']?>
							</td>
						</tr>-->
                        <tr>
							<td width="150" class="key">
								<label for="txtName">Họ và tên</label>
							</td>
							<td>
								<?php  echo $views['LienHe']['hoten']?>
							</td>
						</tr>
						<tr>
							<td width="150" class="key">
								<label for="txtEmail">Email</label>
							</td>
							<td>
								<?php  echo $views['LienHe']['email']?>
							</td>
						</tr>
						<tr>
							<td width="150" class="key">
								<label for="txtName">Phone</label>
							</td>
							<td>
								<?php  echo $views['LienHe']['phone']?>
							</td>
						</tr>
						<!--<tr>
							<td width="150" class="key">
								<label for="txtName">Tiêu đề</label>
							</td>
							<td>
								<?php  echo $views['LienHe']['tieude']?>
							</td>
						</tr>-->
						<tr>
							<td width="150" class="key">
								<label for="txtName">Nội dung</label>
							</td>
							<td>
								<?php  echo $views['LienHe']['noidung']?>
							</td>
						</tr>
						<tr>
							<td class="key">
								<label for="listnhom">Ngày gửi</label>
							</td>
							<td>
								<?php echo date('d-m-Y', strtotime( $views['LienHe']['created'])); ?>
							</td>
						</tr>
						<!--<tr>
							<td class="key">
								<label for="chekActive">Trạng thái</label>
							</td>
							<td>
								<input style="width:0px" type="checkbox" name="chekActive" id="chekActive" onclick="Checkvalue('chekActive')" class="inputbox" value="<?php  echo $views['LienHe']['lienhe_trangthai']?>" <?php if($views['LienHe']['lienhe_trangthai']==1)echo "checked";?> />
								<label id="lbActive">Đã xử lý</label>
							</td>
						</tr>-->
						
						</table>
						</fieldset>
					</div>
					<div class="clr"></div>
					<input type="hidden" name="hndId" id="hndId" value="" />
				</form>
				<div class="clr"></div>
				</div>
				<div class="b"><div class="b"><div class="b"></div></div></div>
			</div>
			<noscript>Warning! JavaScript must be enabled for proper operation of the Administrator back-end.</noscript>
			<div class="clr"></div>
		</div>
		<div class="clr"></div>
	</div>
</div>
